import { defineStore } from 'pinia'
import { store } from '/@/store'

interface ActProcessNodeState {
  actProcessUserTaskNodeId: string
}

export const useActProcessNodeStore = defineStore({
  id: 'actProcessNode',
  state: (): ActProcessNodeState => ({
    actProcessUserTaskNodeId: '',
  }),
  getters: {
  },
  actions: {
    setActProcessUserTaskNodeId(value: string): void {
      this.actProcessUserTaskNodeId = value
    },
  },
})

export function useActProcessNodeStoreWithout() {
  return useActProcessNodeStore(store)
}
